package com.smartleanx.module.hrm.controller.admin.employee.contract;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 员工合同终止 Request VO")
@Data
public class ContractTerminationSaveRepVO {

    @Schema(description = "合同id")
    @NotNull(message = "合同id不能为空")
    private Long id;

    @Schema(description = "终止原因")
    @NotNull(message = "终止原因不能为空")
    private String terminationReason;

    @Schema(description = "终止日期")
    @NotNull(message = "终止日期不能为空")
    private LocalDateTime terminationTime;
}
